<?php
	class giaovienbs
	{
		public $MaGiaoVien = "";
		public $TenGiaoVien = "";
		public $DiaChi = "";
		public $DienThoai = "";
		public $Email = "";
		public $Phai = "";
		public $NgaySinh = "";
		public function Add()
		{
			$db = new giaoviendb();
			return $db->Add($this->MaGiaoVien,$this->TenGiaoVien,$this->DiaChi,$this->DienThoai,$this->Email,$this->Phai,$this->NgaySinh);
		}
		
		public function Delete()
		{
			$db = new giaoviendb();
			return $db->Delete($this->MaGiaoVien);
		}
		
		public function Update()
		{
			$db = new giaoviendb();
			return $db->Update($this->MaGiaoVien,$this->TenGiaoVien,$this->DiaChi,$this->DienThoai,$this->Email,$this->Phai,$this->NgaySinh);
		}
			
		public function GetList()
		{
			$db = new giaoviendb();
			return $db->GetList($this->MaGiaoVien,$this->TenGiaoVien,$this->DiaChi,$this->DienThoai,$this->Email,$this->Phai,$this->NgaySinh);
		}
		public function Find()
		{
			$db = new giaoviendb();
			return $db->Find($this->MaGiaoVien,$this->TenGiaoVien,$this->DiaChi,$this->DienThoai,$this->Email,$this->Phai,$this->NgaySinh);
		}
		
	}
?>